<?php

namespace app\api\v1\validate\order\pay;

use think\Validate;

class ProductPayValidate extends Validate
{
    protected $rule = [
        'delivery_type'      => 'require|number|in:1,2',
        'delivery_address'   => 'require',
        'delivery_mobile'    => 'require',
        'customer_remark'    => 'max:500',
        'order_product_info' => 'require',
        'recharge_price'     => 'require|number',
        'discount_price'     => 'require|number',
        'pay_type'           => 'require|number|in:1,2,3,4',
    ];
}